package com.yidu.best.systemManagement.systemLog.domian;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 日志管理
 * 
 * @author AA
 *
 */
public class LogVo {
	// 日志id
	private String logId;
	// 动作
	private String motion;
	// 日志时间
	private Date logTime;
	// 来源
	private String source;
	// IP地址
	private String computerIP;
	// 描述
	private String description;
	// 用户ID
	private String userId;
	// 用户名
	private String userName;

	private Integer page;

	private Integer limit;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date startTime;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date endTime;

	public String getLogId() {
		return logId;
	}

	public void setLogId(String logId) {
		this.logId = logId;
	}

	public String getMotion() {
		return motion;
	}

	public void setMotion(String motion) {
		this.motion = motion;
	}

	public Date getLogTime() {
		return logTime;
	}

	public void setLogTime(Date logTime) {
		this.logTime = logTime;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getComputerIP() {
		return computerIP;
	}

	public void setComputerIP(String computerIP) {
		this.computerIP = computerIP;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public LogVo(String logId, String motion, Date logTime, String source, String computerIP, String description,
			String userId, String userName, Integer page, Integer limit, Date startTime, Date endTime) {
		super();
		this.logId = logId;
		this.motion = motion;
		this.logTime = logTime;
		this.source = source;
		this.computerIP = computerIP;
		this.description = description;
		this.userId = userId;
		this.userName = userName;
		this.page = page;
		this.limit = limit;
		this.startTime = startTime;
		this.endTime = endTime;
	}

	@Override
	public String toString() {
		return "LogVo [logId=" + logId + ", motion=" + motion + ", logTime=" + logTime + ", source=" + source
				+ ", computerIP=" + computerIP + ", description=" + description + ", userId=" + userId + ", userName="
				+ userName + ", page=" + page + ", limit=" + limit + ", startTime=" + startTime + ", endTime=" + endTime
				+ "]";
	}

	public LogVo() {
		super();
	}
	
}
